<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/hdocs/style/css/setting.css" type="text/css" rel="stylesheet" />
<link href="/hdocs/style/css/common.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/hdocs/jquery/js/jquery-1.8.2.js"></script>
<script type="text/javascript" src="/hdocs/style/js/common.js"></script>
<title>瓜朋网-用户设置</title>
</head>
<body>
      #set ($menuIndex="index") #parse("/inc/header.html")
      <p class="h10"></p>
      <p class="h10"></p>
      <div class="centent">
            <div class="messLe">
                 <p class="messTcT">账户设置</p>
                 <a href="/setting/modifyInfoInit.jsp" class="def">个人资料</a>
                 <a href="/setting/modifyImageInit.jsp">修改头像</a>
                 <a href="/setting/modifyPasswordInit.jsp">修改密码</a>
            </div>
            <div class="cenRi">
                <p class="about">修改个人资料</p>
                <p class="h10"></p>
                <p class="h10"></p>
                <p class="h10"></p>
                <form id="mainFrom" action="/setting/modifyInfo.jsp" method="post">
                <div class="chgIncv"><span>用户名</span><input id="username" name="username" value="$!account.username" type="text" readOnly class="chgInt" /><p class="chgIne">瓜朋登录用户名</p></div>
                <p class="h10"></p>
                <p class="h10"></p>
                <div class="chgIncv"><span>妮称</span><input id="nickname" name="nickname" value="$!account.nickname" type="text" class="chgInt" /></div>
                <p class="h10"></p>
                <p class="h10"></p>
                <div class="chgIncv"><span>专业头衔</span><input id="title" name="title" value="$!account.title" type="text" class="chgInt" /><p class="chgIne">比如：设计师、Python工程师、遗传学博士、商务总监、物理达人、数学控 </p></div>
                <p class="h10"></p>
                <p class="h10"></p>
                <div class="chgIncv"><span>擅长</span><input id="skilled" name="skilled" value="$!account.skilled" type="text" class="chgInt" /><p class="chgIne">比如：八字</p></div>
                <p class="h10"></p>
                <p class="h10"></p>
                <div class="chgIncv">
                    <span>性别</span>
                    <p class="chgSex"><input id="male" name="sex" type="radio" value="1" #if($!account.sex==1) checked #end class="intSex"/><em>男</em></p>
                    <p class="chgSex"><input id="female" name="sex" type="radio" value="0" #if($!account.sex==0) checked #end class="intSex"/><em>女</em></p>
                    <p class="chgSex"><input id="secrecy" name="sex" type="radio" value="-1" #if($!account.sex!=0&&$!account.sex!=1) checked #end class="intSex"/><em>保密</em></p>
                </div>
                <p class="h10"></p>
                <p class="h10"></p>
                <p class="h10"></p>
                <div class="chgIncv">
                	<span>所在地</span>
                	<select id="area" name="area" style="margin:9px 0px;">
                 		<option value="">请选择</option>
                 		#foreach( $prov in $provinceList)
                 		<option value="$prov.name" #if($prov.name=="$!account.area") selected #end>$prov.name</option>
                 		#end
                 	</select>
                </div>
                <p class="h10"></p>
                <p class="h10"></p>
                <div class="chgIncm">
                    <span>个人简介</span>
                    <textarea name="introduction" cols="" rows="" class="chgeaTx">$!account.introduction</textarea>
                </div>
                <p class="h10"></p>
                <p class="h10"></p>
                <p class="h10"></p>
                <input type="hidden" name="accountid" value="$!account.accountid"/>
                <a href="javascript:submitForm();" class="chgBc"><img src="/hdocs/style/img/chgCt.jpg"/></a>
                </form>
                <p class="h10"></p>
                <p class="h10"></p>
                <p class="h10"></p>
            </div>
      </div>
      #parse("/inc/footer.html")
</body>
</html>
<script type="text/javascript">
function submitForm(){
	$("#mainFrom").submit();
}
</script>


